package com.winning.sjzc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.Configuration;

/**
 * description:入口
 *
 * @author: yanxf@winning.com.cn
 * @date 2019/6/21 8:52
 */
@SpringBootApplication
@Configuration
public class SjzcWebApplication extends SpringBootServletInitializer {

  public static void main(String[] args) {
    SpringApplication.run(SjzcWebApplication.class, args);
  }

  @Override
  protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
    return builder.sources(SjzcWebApplication.class);
  }
}
